package com.travel.entity;

import org.springframework.stereotype.Component;
import java.util.Date;
@Component
public class TAttractionsComments   {
  private int acId;
  private TUser user;
  private String acContent;
  private TAttractions attractions;
  private Date acTime;
  private String acType;

  public TAttractionsComments(int acId, TUser user, String acContent, TAttractions attractions, Date acTime, String acType) {
    this.acId = acId;
    this.user = user;
    this.acContent = acContent;
    this.attractions = attractions;
    this.acTime = acTime;
    this.acType = acType;
  }

  public int getAcId() {
    return acId;
  }

  public void setAcId(int acId) {
    this.acId = acId;
  }

  public TUser getUser() {
    return user;
  }

  public void setUser(TUser user) {
    this.user = user;
  }

  public String getAcContent() {
    return acContent;
  }

  public void setAcContent(String acContent) {
    this.acContent = acContent;
  }

  public TAttractions getAttractions() {
    return attractions;
  }

  public void setAttractions(TAttractions attractions) {
    this.attractions = attractions;
  }

  public Date getAcTime() {
    return acTime;
  }

  public void setAcTime(Date acTime) {
    this.acTime = acTime;
  }

  public String getAcType() {
    return acType;
  }

  public void setAcType(String acType) {
    this.acType = acType;
  }

  public TAttractionsComments() {
  }

  @Override
  public String toString() {
    return "TAttractionsComments{" +
            "acId=" + acId +
            ", user=" + user +
            ", acContent='" + acContent + '\'' +
            ", attractions=" + attractions +
            ", acTime=" + acTime +
            ", acType='" + acType + '\'' +
            '}';
  }
}
